package com.molihub.entity;

import lombok.*;

import java.io.Serializable;

/**
 * @ClassName: MessageToShow
 * @Description: 用于前端展示的消息类
 * @author: xw
 * @date 2020/2/23 10:07
 * @Version: 1.0
 **/
@Builder
@Getter
@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class MessageToShow implements Serializable {

    /**
     * 消息对象
     */
    private Message message;

    /**
     * 文章标题
     */
    private String articleTitle;

    /**
     * 评论内容
     */
    private String commentContent;

    /**
     * 来源
     */
    private User fromUser;
}
